home *** CD-ROM | disk | FTP | other *** search
/ ASP Advantage 1993 / The Association of Shareware Professionals Advantage CD-ROM 1993.iso / files / commions / pcbview / pcbview.doc < prev    next >
Text File  |  1993-01-29  |  15KB  |  342 lines

  1.  
  2.  
  3.  
  4.  
  5.                               PCBView V1.00
  6.  
  7.                   PCBoard BBS @Code Screen File Viewer
  8.             featuring: User-Definable @Variable Replacement Text
  9.  
  10.              Program & this document Copyright 1992, Jeff Sloan
  11.         PCBoard is a registered trademark of Clark Development Corp.
  12.  
  13.                          Last Updated: 29 JAN 1993
  14.  
  15.                              Yardbird Software
  16.                                P.O. Box 4646
  17.                             West Hills, CA 91308
  18.  
  19.                                (818)704-6402
  20.                            CompuServe: 73650,104
  21.                            
  22.                            _______
  23.                       ____|__     |               (R)
  24.                    --|       |    |-------------------
  25.                      |   ____|__  |  Association of
  26.                      |  |       |_|  Shareware
  27.                      |__|   o   |    Professionals
  28.                    -----|   |   |---------------------
  29.                         |___|___|    MEMBER
  30.  
  31.  
  32.  
  33.     Acknowledgments
  34.  
  35.        The author wishes to thank all the beta testers for their
  36.     contribution towards making this program as bug-free as possible.
  37.     Special thanks goes to Dave Jackson for originally suggesting the
  38.     idea for this program, and his many helpful ideas and encouragement
  39.     during it's development. 
  40.  
  41.  
  42.  
  43.     WHAT IS PCBView?
  44.  
  45.          PCBView is a DESQview-aware screen viewer for PCBoard BBS
  46.     @code screen files.  In addition to displaying screens using the
  47.     specified colors, any user or system @variables embedded in the
  48.     screens will be replaced with text, simulating exactly how your
  49.     screens will look to your BBS callers on-line.  The default
  50.     @variable replacement text is kept in a separate text file:
  51.     PCBVIEW.VAR which may be customized to your specifications using a
  52.     text editor.  Single screens can be displayed, or you may enter
  53.     multiple screen filenames on the command line, or even use DOS
  54.     wild cards to display a series of screens one after another.
  55.          PCBView is a great companion program to the Laughing Dog Screen
  56.     Maker, Yardbird Software's premiere BBS screen designer.  Of course,
  57.     PCBView will work with any PCBoard 3.xx. screen files, but if you
  58.     aren't using the Laughing Dog to create your screens, you are
  59.     definitely working too hard!
  60.  
  61.  
  62.     INSTALLING PCBVIEW:
  63.  
  64.          To install PCBView, simply copy the PCBVIEW.EXE file and it's
  65.     @variable file: PCBVIEW.VAR into the same subdirectory on your hard
  66.     disk, or a floppy disk.
  67.          The PCBVIEW.VAR file MUST reside in the same directory as
  68.     PCBVIEW.EXE in order to replace any @variables with the default, or
  69.     your own custom replacement text.  You may install these two files
  70.     in a directory that is in your AUTOEXEC.BAT PATH in order to allow
  71.     you to easily view files from any location on your disk.
  72.  
  73.     NOTE: If PCBView cannot find the PCBVIEW.VAR file, you will be
  74.     notified of this and given the choice of either quitting the program
  75.     immediately, or continuing to view the file(s) without the
  76.     replacement text (in which case, the literal @variable strings,
  77.     @USER@, @MINLEFT@, etc., will be displayed as is).
  78.  
  79.  
  80.     RUNNING PCBVIEW.EXE
  81.     
  82.     Command-Line USAGE:
  83.  
  84.          PCBVIEW [? | /?] [/Mbf] [/Dn] [filename.ext] [filename.ext ...]
  85.                                            (DOS wild cards OK)
  86.  
  87.       >>   ? or /?
  88.     Either of these by themselves after PCBVIEW will display a help
  89.     screen.
  90.  
  91.       >>   /Mbf
  92.     This allows you to override the default attribute (Lightgray on Black)
  93.     used for monochrome when toggling the displayed screens between full
  94.     color and monochrome (see Commands Available During File Display,
  95.     below)
  96.  
  97.         b = the uppercase hex value for the background color
  98.         f = the upper case hex value for the foreground color
  99.  
  100.     Possible values are:
  101.     ---------------------------------------------
  102.        Background               Foreground
  103.     ---------------------------------------------
  104.     0 = Black                0 = Black
  105.     1 = Blue                 1 = Blue
  106.     2 = Green                2 = Green
  107.     3 = Cyan                 3 = Cyan
  108.     4 = Red                  4 = Red
  109.     5 = Magenta              5 = Magenta
  110.     6 = Brown                6 = Brown
  111.     7 = Lightgray            7 = Lightgray
  112.     8 = Black, blinking      8 = Darkgray
  113.     9 = Blue, blinking       9 = Light Blue
  114.     A = Green, blinking      A = Light Green
  115.     B = Cyan, blinking       B = Light Cyan
  116.     C = Red, blinking        C = Light Red
  117.     D = Magenta, blinking    D = Light Magenta
  118.     E = Brown, blinking      E = Yellow
  119.     F = Lightgray, blinking  F = White
  120.  
  121.     example:    /M1E = Yellow on Blue
  122.  
  123.     You also may change the monochrome attribute in the middle of a series of
  124.     files that were listed on the command line to display as a group.
  125.     For instance:
  126.  
  127.     PCBVIEW /M1E title.bbs menu1.bbs /M0E goodbye.bbs
  128.  
  129.  
  130.       >>  /Dn
  131.     This allows you to change the speed at which the files are displayed on
  132.     your screen. The default delay is 0.
  133.     Replace the n above with any value from 1-9 to change the initial delay.
  134.        0 = No delay
  135.        9 = Maximum delay
  136.  
  137.  
  138.       >>   filename.ext
  139.     One filename with it's extension will display that one file, wait
  140.     for a keystroke, then exit.
  141.  
  142.  
  143.       >>   file1.ext file2.ext file3.ext ...
  144.     More than one filename.ext (each separated by a space) will display
  145.     each file in order, one after the other.  This allows you to do
  146.     things like simulate a users progression through a series of menus
  147.     and screens by placing those screen file names, in the correct
  148.     order, on the command line.
  149.  
  150.  
  151.       >>   filenames using the DOS wild card chars: '*' and '?'
  152.     Using DOS wild card character expressions like: *.*, *.BBS,
  153.     file??.BBS, A*.*, etc. will cause all files in the current directory
  154.     (or a specified directory, example: C:\PCBV\SCREENS\*.BBS) to be
  155.     displayed in the order in which DOS finds them, one after another.
  156.  
  157.     NOTE: If PCBView cannot find a file, or has a problem opening the
  158.     file, it will display an error message, then attempt to continue, if
  159.     possible.
  160.  
  161.     ALSO NOTE: PCBView will attempt to display any file you hand it on
  162.     the command line, even if that file is not an actual @code file, it
  163.     doesn't care!
  164.  
  165.  
  166.     COMMANDS AVAILABLE DURING FILE DISPLAY
  167.  
  168.          Whenever a file is longer than the current number of lines
  169.     available on your monitor minus one (for the status line), for
  170.     instance screens longer than 24 lines when in 25 line mode, the
  171.     familiar:
  172.  
  173.     MORE?
  174.  
  175.     will be displayed at the bottom of the screen, there is also some
  176.     additional information displayed, however, which does not normally
  177.     appear in PCBoard so your status line will actually look something
  178.     like this:
  179.  
  180.     MORE                      Delay[0-9]  [M]ono     Screen1: my.pcb
  181.  
  182.          The name of the screen (my.pcb) and an indication of the
  183.     screen's position in a list of multiple screen files (Screen1:) is
  184.     displayed at the far right end of the line.  This is useful mostly
  185.     if you ran the program with several screen files or wild cards
  186.     specified on the command line, to remind you exactly which file you
  187.     are currently viewing.
  188.          There is also another option: "Delay[0-9]" available.  This
  189.     controls the speed at which the file is displayed on your screen.
  190.     The default is Delay=0, or full speed.  You may choose to display
  191.     the screen at a reduced speed by pressing one of the number keys on
  192.     your keyboard between 1 and 9 for varying delays between lines.
  193.     Pressing "0" will return the display to the minimum delay (maximum
  194.     speed) setting.  These number keys may be pressed at any time during
  195.     display, not just in response to the -Pause- prompt.
  196.     
  197.     --Pressing the "N" key will have the usual effect aborting the
  198.       display of the current screen file.
  199.     
  200.     --Pressing "Y" will continue displaying the current screen file.
  201.     
  202.     --Pressing <cntl>-K or <cntl>-X will immediately abort the display
  203.       of the current screen.
  204.     
  205.     --Pressing <ESC> will immediately exit the program & clear screen.
  206.     
  207.     --Pressing the Spacebar at any time will cause an immediate Pause
  208.       to occur.
  209.     
  210.     --Pressing "M" will toggle the display between Mono and Color.
  211.       NOTE: You can change the default monochrome colors using the /M command
  212.             line switch described above.
  213.     
  214.     --Pressing any other key will is the same as pressing "Y".
  215.  
  216.          If the screen being displayed contains any of the display
  217.     control codes (@PAUSE@, @POFF@, @QOFF@, @WAIT@, @CLS@, etc.)
  218.     embedded in it, those controls will override anything typed in
  219.     response to an on-screen prompt, as they would on-line.
  220.  
  221.  
  222.     THE PCBVIEW.VAR @VARIABLE FILE
  223.  
  224.          The PCBVIEW.VAR file is a plain ASCII text file which contains
  225.     the replacement text which will be inserted into screens in place of
  226.     the user and system @variables (@TIME@, @BBS@, @USER@, etc.).  The
  227.     original PCBVIEW.VAR file supplied with the program contains some
  228.     arbitrary replacement text.  You may very easily customize the file
  229.     to your heart's desire.  You must use a plain ASCII text editor (or
  230.     save the file as straight ASCII text if you are using a word
  231.     processor), to avoid adding unwanted control codes to the file.  In
  232.     addition, there are a few very rigid formatting rules that you must
  233.     follow.
  234.  
  235.     The format for data in this file is as follows:
  236.       1. Each line in the file must begin with an at symbol(@), which
  237.          is the first character in the @variable name.
  238.       2. The 2nd character on the line must be the first character of
  239.          the variable name, which is generally in upper case.
  240.       3. The remainder of the upper case variable name follows,
  241.          immediately terminated with another at symbol(@).
  242.       4. This terminating at symbol is immediately followed by an
  243.          equals sign (=).
  244.       5. The equals sign is immediately followed by the replacement
  245.          text.
  246.       6. The replacement text is immediately followed by the usual
  247.          Carriage Return(CR)/Line Feed(LF) sequence (which is what
  248.          happens when you press the ENTER key to end a line and move on
  249.          to the next line).
  250.       7. There should be no blank lines between the @variable
  251.          definitions.  The files should just be one solid block of
  252.          @xxxx@=yyyyyy lines (see below).
  253.  
  254.       NOTE: any "white space" (spaces) between the equals sign and the
  255.       end of the line (CR/LF) will be included in the replacement text,
  256.       so be sure you press the ENTER key when the cursor is right next
  257.       to the last character you wish to end the text with, without
  258.       pressing the spacebar, tab, or arrow keys  first(some text
  259.       editors take the liberty of assuming you meant to enter spaces at
  260.       the end of a line if you use the right arrow key to arrow over a
  261.       few spaces before pressing enter).
  262.  
  263.          This probably sounds a lot more complicated that it actually
  264.     is.  When you look at the default PCBVIEW.VAR file, it should be
  265.     immediately obvious what your file should look like. In fact, if you
  266.     just edit this file (or better, a back-up copy of the original
  267.     file), you should be in good shape.  Just delete or type over the
  268.     text you wish to change, and don't add any unwanted spaces at the
  269.     end of the line.
  270.          Here is a brief excerpt from the default PCBVIEW.VAR file to
  271.     show you what it should look like:
  272.  
  273.     @BOARDNAME@=The Coolest BBS
  274.     @BPS@=9600
  275.     @BYTELIMIT@=100,000
  276.     @BYTERATIO@=2:4
  277.     @BYTESLEFT@=2,000
  278.     @CITY@=West Hills
  279.     @CONFNUM@=23
  280.     @CURMSGNUM@=234
  281.  
  282.          The actual variable names and text is up to you.  You can even
  283.     add phony variable names that PCBoard would not understand if you
  284.     want to, and PCBView will dutifully believe you and insert your
  285.     replacement text into the displays if it comes upon the bogus
  286.     @variable name in a screen file.  This is pointless, of course, but
  287.     this ability is offered just in case Clark Development Co. adds
  288.     additional @variables in future releases of PCBoard  In that event,
  289.     just add them to your PCBVIEW.VAR file and you are on you way!
  290.          Along these same lines, the format of the replacement text is
  291.     not checked.  It is up to you to provide valid replacement text.
  292.     
  293.     For example, dates are displayed in PCBoard in the MM/DD/YY format,
  294.     if you choose to define the @EXPDATE@ @variable like this:
  295.  
  296.     @EXPDATE@=March 23rd, Nineteen Ninety Two
  297.  
  298.     you will get what you deserve! (a display which does not match what
  299.     PCBoard displays).  But seriously folks, stick to the correct
  300.     format, and then what you see (with PCBView) is what you will get
  301.     (with PCBoard).
  302.  
  303.  
  304.     GETTING THE LATEST VERSION OF PCBView OR THE LAUGHING DOG SCREEN MAKER:
  305.  
  306.     The latest version of these programs can always be found on one of the
  307.     following ASP Hub Network BBS's:
  308.  
  309.     North-East Coast USA           Mid-East Coast USA:
  310.      The Consultant BBS             The Break RBBS <East>
  311.      (718)837-3236                  (703)680-9269
  312.  
  313.     North-Mid USA:                 South Mid-USA:
  314.      The Twilight Zone              The DataExchange BBS
  315.      (715)652-2758                  (318)239-2122
  316.  
  317.     South-West Coast USA:          North-West Coast USA:
  318.      Attention to Details BBS       Space BBS
  319.      (714)681-6221                  (415)323-4398
  320.  
  321.     CANADA:
  322.      Knightec BBS
  323.      (519)940-0007
  324.  
  325.     These BBS's are committed to allowing even first-time callers to download
  326.     AT LEAST one file on their first call, so you can be assured of getting
  327.     the latest version of this program anytime.
  328.  
  329.  
  330.     ASP Ombudsman statement
  331.  
  332.          Yardbird Software is a member of the Association of Shareware
  333.     Professionals (ASP).  ASP wants to make sure that the shareware
  334.     principle works for you.  If you are unable to resolve a
  335.     shareware-related problem with an ASP member by contacting the
  336.     member directly, ASP may be able to help.  The ASP Ombudsman can
  337.     help you resolve a dispute or problem with an ASP member, but does
  338.     not provide technical support for members' products.  Please write
  339.     to the ASP Ombudsman at 545 Grover Road, Muskegon, MI 49442 or
  340.     send a CompuServe message via CompuServe Mail to ASP Ombudsman
  341.     70007,3536.
  342.